package com.njtech.pet.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lxj
 * Date:2020-03-09 10:54
 * Description:物品类
 */
public class Item implements Serializable{
    public Integer id;
    public Date createDate;
    public String itemName;
    public String type;
    public String subject;
    public String description;
    public String whenEffect;
    public Integer howLong;
    public Double price;
    public Integer credit;
    public String howUse;
    public String state;
    public Date updateDate;
    public String remark;
    public String picUrl;

    public Item() {
    }

    public Item(Integer id, Date createDate, String itemName, String type, String subject, String description, String whenEffect, Integer howLong, Double price, Integer credit, String howUse, String state, Date updateDate, String remark, String picUrl) {
        this.id = id;
        this.createDate = createDate;
        this.itemName = itemName;
        this.type = type;
        this.subject = subject;
        this.description = description;
        this.whenEffect = whenEffect;
        this.howLong = howLong;
        this.price = price;
        this.credit = credit;
        this.howUse = howUse;
        this.state = state;
        this.updateDate = updateDate;
        this.remark = remark;
        this.picUrl = picUrl;
    }

    @Override
    public String toString() {
        return "Item{" +
                "id=" + id +
                ", createDate=" + createDate +
                ", itemName='" + itemName + '\'' +
                ", type='" + type + '\'' +
                ", subject='" + subject + '\'' +
                ", description='" + description + '\'' +
                ", whenEffect='" + whenEffect + '\'' +
                ", howLong=" + howLong +
                ", price=" + price +
                ", credit=" + credit +
                ", howUse='" + howUse + '\'' +
                ", state='" + state + '\'' +
                ", updateDate=" + updateDate +
                ", remark='" + remark + '\'' +
                ", picUrl='" + picUrl + '\'' +
                '}';
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getWhenEffect() {
        return whenEffect;
    }

    public void setWhenEffect(String whenEffect) {
        this.whenEffect = whenEffect;
    }

    public Integer getHowLong() {
        return howLong;
    }

    public void setHowLong(Integer howLong) {
        this.howLong = howLong;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public String getHowUse() {
        return howUse;
    }

    public void setHowUse(String howUse) {
        this.howUse = howUse;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
